<div class="inner-content box green">
    <div class="title">
        <div>Liên hệ</div>
    </div>
    <div class="content">
        <form name="frmContact" id="frmContact" action="#" method="post">
            <table width="600" border="0" cellpadding="0" cellspacing="0" style="margin: 5px auto; border:none">
                <tr>
                    <td width="140"><strong>Họ tên</strong> <span class="label-require">(*)</span> : </td>
                    <td width="444"><input type="text" name="txtName" id="txtName" value="<?php echo set_value('txtName') ?>" size="40"/></td>
                </tr>
                <tr>
                    <td><strong>Email</strong> <span class="label-require">(*)</span> : </td>
                    <td><input type="text" name="txtEmail" id="txtEmail" value="<?php echo set_value('txtEmail') ?>"/></td>
                </tr>
                <tr>
                    <td><strong>Địa chỉ</strong> <span class="label-require">(*)</span> : </td>
                    <td><input type="text" name="txtAddress" id="txtAddress" value="<?php echo set_value('txtAddress') ?>"/></td>
                </tr>
                <tr>
                    <td><strong>Điện thoại</strong> : </td>
                    <td><input type="text" name="txtPhone" id="txtPhone" value=""/></td>
                </tr>
                <tr>
                    <td><strong>Nội dung</strong> <span class="label-require">(*)</span> : </td>
                    <td>
                        <textarea name="txtContent" id="txtContent" rows="10"><?php echo set_value('txtContent') ?></textarea>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <ul class="error">
                            <?php echo form_error('txtName') ?>
                            <?php echo form_error('txtEmail') ?>
                            <?php echo form_error('txtAddress') ?>
                            <?php echo form_error('txtContent') ?>
                            <?php if(count($error) != 0): ?>
                            <?php foreach($error as $e): ?>
                            <li><?php echo $e ?></li>
                            <?php endforeach; ?>
                            <?php endif; ?>
                        </ul>
                    </td>
                </tr>
                <tr>
                    <td colspan="2" align="center">
                        <input type="hidden" name="frmToken" value="<?php echo $frmToken ?>"/>
                        <input type="submit" class="btn-green" value="Gửi"/>
                        <input type="reset" class="btn-yellow" value="Phục hồi"/>
                    </td>
                </tr>
            </table>
        </form>
    </div>
</div>